<!DOCTYPE html>
<html style="height: 100%;">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>业务管理平台</title> <#assign ctx = request.contextPath />
<script src="${ctx!}/scripts/third/jquery-2.2.4.min.js"></script>
<script src="${ctx!}/scripts/third/jquery.particleground.min.js"></script>
<script src="${ctx!}/scripts/third/require.js"></script>
<script type="text/javascript">
    /* 定义全局变量 */
    var ctx = "${ctx!}";
    require([ '${ctx!}/scripts/common/main.js' ], function() {
	require([ 'login' ], function(LoginPage) {
	    LoginPage.initPage();
	})
    });
    $(document).ready(function(){
		$('#particles').particleground({
		    dotColor: '#334356',
		    lineColor: '#334356'
		});
	});
    function refresh() {
	document.getElementById("yzmimg").src = document
		.getElementById("yzmimg").src
		+ "?";
    }
</script>
</head>
<body style="height: 100%;">
	<div id="particles" style="height: 100%;">
		<div id="intro">
			<div class="beg-login-box">
				<div id="div-message" style="display: none;">${resultMsg!}</div>
				<header>
					<h1>后台登录</h1>
				</header>
				<div class="beg-login-main">
					<form id="loginForm" name="form1" class="layui-form" method="post" noValidateClass="true" action="" autocomplete="off">
						<input type="hidden" id="param_password" name="param_password" value="" />
						<div class="layui-form-item">
							<label class="beg-login-icon">
								<i class="layui-icon">&#xe612;</i>
							</label>
							<input autofocus="autofocus" type="text" id="param_userId" lay-verify="userName" autocomplete="off" placeholder="这里输入登录名" class="layui-input"
								name="param_userId" isValidate="true" notEmpty="true" isCharOrNum="true" />
						</div>
						<div class="layui-form-item">
							<label class="beg-login-icon">
								<i class="layui-icon">&#xe642;</i>
							</label>
							<input type="password" id="pwd" name="pwd" lay-verify="password" autocomplete="off" placeholder="这里输入密码" class="layui-input" isValidate="true"
								notEmpty="true" />
						</div>
						<div class="layui-form-item">
							<label class="beg-login-icon">
								<i class="layui-icon">&#xe631;</i>
							</label>
							<input type="text" name="validateCode" class="layui-input" autocomplete="off" id="validateCode" placeholder="这里输入验证码" isValidate="true"
								notEmpty="true" />
							<a class="validateCodeA" href="Javascript:refresh()">
								<img id="yzmimg" border="0" src="${request.contextPath}/ImageGenerator/getCode.do" />
							</a>
						</div>
						<div class="layui-form-item">
							<div class="beg-pull-right">
								<input type="button" class="layui-btn layui-btn-primary" id="loginBtn" value="登录" />
							</div>
							<div class="beg-clear"></div>
						</div>
					</form>
				</div>
				<footer>
					<!-- <p>Beginner © www.microuniver.cn</p> -->
				</footer>
			</div>
		</div>
	</div>
</body>
</html>